import layout from '../layout/main.vue'
const routeList = [
  {
    path: '/login',
    component: () => import('@/views/login/index.vue'),
    meta: {
      title: '登录',
      hidden:true,
    },
  },
  {
    path: '/',
    component: () => import('@/views/login/index.vue'),
    meta: {
      title: '登录',
      hidden:true,
    },
  },
  {
    path: '/records',
    component: layout,
    icon: '',
    meta: {
      title: '记录',
    },
    children: [
      {
        icon: '',
        path: '',
        component: () => import('@/views/records/records.vue'),
        meta: { title: '记录' },
      },
    ],
  },
  {
    path: '/tasks',
    component: layout,
    icon: '',
    meta: {
      title: '计划',
    },
    children: [
      {
        icon: '',
        path: '',
        component: () => import('@/views/tasks/tasks.vue'),
        meta: { title: '计划' },
      },
    ],
  },
]
export default routeList
